package top.btcmarket.auth.entity;

import javax.persistence.*;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

import static javax.persistence.GenerationType.IDENTITY;

/**
 * 
 * @ClassName:  Resources   
 * @Description:TODO(这里用一句话描述这个类的作用)   
 * @author: pengwei
 * @date:   2017年11月20日 上午11:10:16   
 *
 */
@Entity
@Table(name = "resources")
public class Resources implements Serializable {
    /**   
	 * @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么)   
	 */   
	private static final long serialVersionUID = -4950474890928379670L;
	
	private int id;
	
    private String uri;
    private String method;
    private String module;
    
    //省略一些常用字段
    

    @Id
    @GeneratedValue(strategy = IDENTITY)
    public int getId() {
        return id;
    }

    public String getUri() {
		return uri;
	}

	public void setUri(String uri) {
		this.uri = uri;
	}

	public String getMethod() {
		return method;
	}

	public void setMethod(String method) {
		this.method = method;
	}

	public String getModule() {
		return module;
	}

	public void setModule(String module) {
		this.module = module;
	}

	public void setId(int id) {
        this.id = id;
    }

   
}
